home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Orlando_1993 / Devcon93.4 / CAMD / examples / newexamples / examples.doc < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.1 KB  |  37 lines

  1. IMPORTANT NOTE:  The example camdlist.c needs to be re-written to support
  2. the now split CAMD and RealTime libraries!  The version here is for an old
  3. CAMD that included all the features of both camd and realtime. Timetest.c
  4. and linktest.c have already been re-written. - chrisl
  5.  
  6.  
  7. Here are three CAMD examples:
  8.  
  9. camdlist
  10.  
  11.     This program merely lists all the current MidiClusters and Conductors.
  12.  
  13.  
  14. linktest
  15.  
  16.     This tests MIDI messaging by sending and receiving a SysEx message.
  17. The usage is
  18.  
  19.     linktest mode <inname outname>
  20.  
  21. where mode is either "s" for send first or "r" for receive first. Optionally,
  22. a name for the input and output MidiCluster names can be provided. If an input
  23. name is provided, so must an output name. If not provided, the default
  24. input and output names are "In.0" and "Out.0", respectfully. ("In.0" and
  25. "Out.0" are the default internal serial unit MidiCluster names.)
  26.  
  27.  
  28. timetest
  29.  
  30.     Tests the Player/Conductor system. The usage is
  31.  
  32.     timetest <ticks> <HOOK>
  33.  
  34. where ticks is the number of CAMD heartbeats (500 Hz) to wait. The default
  35. ticks is 500. Specifying the switch HOOK causes timing info to be spewed
  36. out the serial port via kprintf.
  37.